package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.bean.CakeCatalog;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CakeCatalogMapper {

    List<CakeCatalog> selectAll();


    void deleteId(@Param("id") int id);

    void insert(@Param("list") List<CakeCatalog> list);

    CakeCatalog selectByTitle(@Param("title") String title);
}
